package com.qyer.search.model.result;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.qyer.search.model.aggregation.AggregationProduct;
import com.qyer.search.model.aggregation.Intention;
import com.qyer.search.model.aggregation.STGInfo;

import java.util.List;
import java.util.Map;

/**
 * Created by tangzheng on 16/7/19.
 */
public class SearchFilterInfo {

  @JsonProperty
  private Map<Integer, STGInfo> stg_info;
  @JsonProperty
  private List<Integer> stg_order;
  @JsonProperty
  private Intention intention;

  public SearchFilterInfo(Map<Integer, STGInfo> stg_info, List<Integer> stg_order,
                          Intention intention) {
    this.stg_info = stg_info;
    this.stg_order = stg_order;
    this.intention = intention;
  }

  public Map<Integer, STGInfo> getStg_info() {
    return stg_info;
  }

  public void setStg_info(Map<Integer, STGInfo> stg_info) {
    this.stg_info = stg_info;
  }

  public List<Integer> getStg_order() {
    return stg_order;
  }

  public void setStg_order(List<Integer> stg_order) {
    this.stg_order = stg_order;
  }

  public Intention getIntention() {
    return intention;
  }

  public void setIntention(Intention intention) {
    this.intention = intention;
  }
}
